package Extends;

public class YuanzhuTest {
    public static void main(String[] args) {

        Yuanzhu yuanzhu = new Yuanzhu();
        yuanzhu.setR(5);
        yuanzhu.setHeight(10);

        double s = yuanzhu.findVolume();
        System.out.println("圆柱的体积：" + s);


    }
}
